*******************************************************************************************************************
********************************** Japanese Journal of Political Science ******************************************
*Who Gets Picked On and Why? The Politics of North Korea’s Human Rights Recommendations in the Universal Periodic Review *
************************************** Haeun Jang, Byungwon Woo ***************************************************
******************************************** Replication Codes ****************************************************
**************************** email: hena9187@yonsei.ac.kr / bwwoo@yonsei.ac.kr ************************************
*******************************************************************************************************************

**1. Table 2 / Variation wiwthin DV, North Korea’s Recommendations
tab rec_bi

**2. Table 5 / Descriptive Statistics of Dependent Variables
sum shaming_bi backpatting_bi shaming backpatting 

**3. Table 7 / Summary Statistics of Explanatory Variables
sum unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_aid ln_import ln_export

**4. Table 10 / Effects of Voting Distance and Sanctions on North Korean Recommendations
logit shaming_bi unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
logit backpatting_bi unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
nbreg shaming unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
nbreg backpatting unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle

** 5. Figure 1. Substantive Effects of Voting Distance on Probabilities of Shaming and Back-patting
logit shaming_bi unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
margins, at(unga_distance=(0(1)5)) atmeans 
marginsplot 

logit backpatting_bi unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
margins, at(unga_distance=(0(1)5)) atmeans 
marginsplot 

** 6. Figure 2. Substantive Effects of Voting Distance on Numbers of Shaming and Back-patting
logit shaming unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
margins, at(unga_distance=(0(1)5)) atmeans 
marginsplot 

logit backpatting unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
margins, at(unga_distance=(0(1)5)) atmeans 
marginsplot 

**7. Figure 3. Ongoing Sanctions and Predicted Probabilities (North Korea)
logit shaming_bi unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
margins, at(ongoing_total=(0,1)) atmeans 
marginsplot 

logit backpatting_bi unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
margins, at(ongoing_total=(0,1)) atmeans 
marginsplot 

**8. Figure 4. Predicted Probabilities by Cycle (North Korea)
logit shaming_bi unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
margins, at(cycle=(1(1)3)) atmeans 
marginsplot 

logit backpatting_bi unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle
margins, at(cycle=(1(1)3)) atmeans 
marginsplot 

**9. Table A1. Effects of Voting Distance and Sanctions on North Korean Recommendations After Considering 2014 COI Report

logit shaming_bi unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle i.postCOI
logit backpatting_bi unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle i.postCOI
nbreg shaming unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle i.postCOI
nbreg backpatting unga_distance ongoing_total fh_ipolity2 norm_dprk theta_mean ln_import ln_export ln_aid ln_gdppc i.un_region_numeric i.cycle i.postCOI
